package com.springcloud.demo.test.design.simpleFactory;

/**
 * @author zhouyang
 * @Description
 * @date 2018/09/10
 */
public abstract class Operate {

    protected double a;
    protected double b;

    public Operate(double a, double b) {
        this.a = a;
        this.b = b;
    }

    public Operate() {
    }

    public double oper(){
        return 0;
    }

    public double getA() {
        return a;
    }

    public void setA(double a) {
        this.a = a;
    }

    public double getB() {
        return b;
    }

    public void setB(double b) {
        this.b = b;
    }
}
